import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Add from'../components/Add.vue'
import FormList from'../components/FormList.vue'
import FillForm from'../components/FillForm.vue'
import Statistics from'../components/Statistics.vue'
import CollectList from'../components/CollectList.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
	{
	  path: '/Add',
	  component:Add
	},
	{
	  path: '/FormList',
	  component:FormList
	},
	{
	  path: '/FillForm/:id',
	  name:'FillForm',
	  component:FillForm
	},
	{
	  path: '/Statistics',
	  name: 'Statistics',
	  component:Statistics
	},
	{
	  path: '/CollectList',
	  component:CollectList
	},
  ]
})
